@import 'reset';
@import 'icon';
.scroll-body {
    // 禁用默认长按复制以及ios的放大镜功能
    -webkit-touch-callout: none;
    -webkit-user-select: none;
}
input {
    outline: none;
    caret-color: #fff;
}
// 拖动元素背景
.sortable-drag{
    opacity: 1!important;
    box-shadow: 3px 3px 10px #000, -3px -3px 10px #000;
}
.flexall {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 100%;
}

.flexall-hor {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
}

.flex {
    width: auto;
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -webkit-flex-shrink: 1;
    -ms-flex-negative: 1;
    flex-shrink: 1;
    flex: 1;
    overflow: auto;
    -webkit-overflow-scrolling: touch
}

.clear:after {
    content: "";
    display: block;
    height: 0;
    clear: both;
}

body {
    touch-action: manipulation;
    color: #999;
    background: #0f0f0f;
}

.brown {
    color: #E94E30;
}

.red {
    color: #EB1B1B;
}

.green {
    color: #27C85F;
}
.color6{
    color: #666;
}
.color9{
    color: #999;
}
.fl {
    float: left;
}

.fr {
    float: right;
}

.alignRight {
    text-align: right;
}

.alignLeft {
    text-align: left;
}


.arrow {
    width: 0.26rem;
}

.hoverBottomToggle {
    position: fixed;
    z-index: 8888;
    width: 0.59rem;
    bottom: 0.08rem;
    right: 0.2rem;

}

.btn-operate {
    border-radius: 0.46rem;
    height: 0.46rem;
    line-height: 0.46rem;
    text-align: center;
    font-size: 0.16rem;

}

.btn-active {
    background: linear-gradient(-269deg, #FF8F25 0%, #FF4646 100%);
    color: #fff;
}

.btn-solid {
    border: 1px solid #41270F;
    color: #E94E30;
    background: #0f0f0f;
}

.aim-bottom-btn {
    margin: 0 0.18rem;

    .btn-operate {
        margin: 0.12rem 0;
        display: block;
    }
}

// 侧边栏筛选按钮
.aim-list-item {
    overflow: hidden;

    li {
        border: 1px solid #41270F;
        border-radius: 0.28rem;
        width: 0.84rem;
        height: 0.28rem;
        line-height: 0.28rem;
        color: #fff;
        text-align: center;
        margin: 0 0.1rem 0.17rem 0;
        float: left;
        font-size: 0.14rem;
        cursor: pointer;

        &.active {
            background: linear-gradient(-269deg, #FF8F25 0%, #FF4646 100%);
        }
    }
}

// 搜索
.search {
    height: 0.44rem;
    padding: 0.06rem 0;
    background: #151515;
    font-size: 0.14rem;

    .back {
        text-align: center;
        float: left;
        width: 0.34rem;
        line-height: 0.38rem;
        height: 0.32rem;
    }

    .search-input {
        float: left;
        position: relative;

        input {
            width: 100%;
            // height: 0.32rem;
            line-height: 0.2rem;
            background: #0F0F0F;
            border-radius: 0.5rem;
            color: #FFFFFF;
            padding: 0.06rem 0.35rem;
            font-size: 0.14rem;
        }

        .search-input-inner {
            position: relative;
        }

        .icon-search {
            position: absolute;
            left: 0.09rem;
            top: 50%;
            margin-top: -0.095rem;
        }

        .icon-clear {
            position: absolute;
            right: 0;
            top: 50%;
            margin-top: -0.065rem;
            display: none;
            padding-right: 0.15rem;
            box-sizing: content-box;
        }
    }

    .search-handle {
        color: #E94E30;
        padding: 0 0.1rem;
        line-height: 0.32rem;

    }
}

// 底部按钮
.bottom-button {
    background: #333333;
    height: 0.48rem;
    line-height: 0.48rem;
    text-align: center;
    // position: fixed;
    // bottom: 0;
    // width: 100%;

    .col {
        font-size: 14px;
        color: #E94E30;
        .add-icon{
            vertical-align: middle;
            font-size: 0.22rem;
        }
        .add-text{
            vertical-align: middle;
            font-size: 0.14rem;
        }
    }
}


// tab
.aim-tab {
    background: #222222;
    height: 0.36rem;
    line-height: 0.36rem;
    text-align: center;
    display: flex;

    li {
        // float: left;
        font-size: 0.14rem;
        // width: 25%;
        flex:1;
    //    display: inline-block;

        >a {
            position: relative;
            color: #999999;

        }

        .border {
            position: absolute;
            width: 100%;
            height: 2px;
            background: linear-gradient(-269deg, #FF8F25 0%, #FF4646 100%);
            border-radius: 1rem;
            left: 0;
            display: none;
            margin-top: -2px;
        }

        &.active {
            >a {
                color: #E94E30;

                .border {
                    display: block;
                }
            }
        }
    }
}

// table
.fixed-header .aim-table th {
    padding: 0;

    .cell-text {
        padding: 0 0.1rem;
    }
}

.scroll-body .aim-table {
    margin-top: -0.36rem;
}

.aim-table {
    color: #fff;
    font-size: 0.16rem;
    text-align: left;
    width: 100%;
    border-collapse: collapse;

    .toggle-handle {
        padding: 0.05rem 0;
    }

    &.aim-table-default {
        font-size: 0.14rem;

        td:nth-child(3),
        td:nth-child(4),
        th:nth-child(3),
        th:nth-child(4) {
            text-align: left;
        }

    }

    thead tr {
        background: #0F0F0F;
        height: 0.36rem;
        color: #666;
        font-size: 0.12rem;
    }

    td:nth-child(1) {
        font-size: 0.14rem
    }

    td:nth-child(3),
    td:nth-child(4),
    th:nth-child(3),
    th:nth-child(4) {
        text-align: right;
    }

    th,
    td {
        padding: 0 0.1rem;
        min-width: 0.6rem;
        // overflow: hidden;
        // word-break: break-all;
        // text-overflow: ellipsis;
        // white-space: nowrap;
    }

    tbody {
        margin-bottom: 0.1rem;

        &.tbody-section {
            tr {
                height: 0.42rem;
                border: 0;

                &.title {
                    border-bottom: 1px solid #1C1C1C;
                }
            }
        }

        tr {
            height: 0.48rem;
            background: #151515;
            border-bottom: 1px solid #1C1C1C;
            .unit{
                color:#666;
                font-size: 0.1rem;
                display: block;
                &.inline-block{
                    display: inline-block;
                    margin-left: 0.05rem;
                }
            }
            &:last-child{
                border-bottom: 0;
            }

            &.active {
                background: #292929;
            }

            &.line {
                height: 0.1rem;
                background: transparent;
                border: 0;
            }
        }
    }

    .aim-table-innner {
        padding: 0;
    }
}

// 公共title
.title-inner-wrap {
    // height: 0.48rem;
    // line-height: 0.48rem;
    padding: 0 0.12rem;
    overflow: hidden;

    .title-inner {
        margin: 0.12rem 0 0.14rem;
    }
}

.title-inner {
    // margin-bottom: 0.15rem;
    font-size: 0.16rem;
    color: #fff;

    .border {
        display: inline-block;
        width: 0.04rem;
        height: 0.15rem;
        border-radius: 1rem;
        background: linear-gradient(#EB4E30, #3F1313);
        margin-right: 0.08rem;
        vertical-align: middle;
    }

    .del {
        font-size: 0.14rem;
        color: #E94E30;
        display: none;

        .del-icon {
            font-size: 0.16rem;
        }
    }

    .to {
        .icon-user-go {
            float: right;
            margin-top: 0.04rem;
        }
    }
}

// 列表
.list-section {
    margin-bottom: 0.1rem;

    .item {
        font-size: 0.14rem;
        color: #fff;
        height: 0.42rem;
        line-height: 0.42rem;
        background: #151515;

        &.item-aim-list {
            height: auto;

            .aim-list-item {
                padding-top: 0.12rem;

                li {
                    margin: 0 0.1rem 0.12rem 0;
                }
            }
        }

        &:last-child {
            .item-inner {
                border: 0;
            }
        }

        .item-inner {
            margin: 0 0.12rem;
            border-bottom: 1px solid #1C1C1C;
            overflow: hidden;
            position: relative;

            a {
                color: #fff;
                display: block;
            }

        }

        .label-supply {
            input {
                height: 0.42rem;
                line-height: 0.42rem;
                background: transparent;
                width: 100%;
                color: #FFFFFF;
                padding: 0.1rem 0.12rem;
                line-height: 0.2rem;
                font-size: 0.14rem;
            }
        }


        .label {
            float: left;
        }

        .label-content {
            float: right;
            color: #666666;
            height: 100%;

            .tag {
                width: 0.46rem;
                height: 0.24rem;
                // border: 1px solid #e5e5e5;
                cursor: pointer;
                border-radius: 0.22rem;
                position: absolute;
                top: 50%;
                margin-top: -0.11rem;
                right: 0;
                border: 1px solid #464545;
                background: #666;

                // position: relative;
                &.active {
                    background: linear-gradient(-269deg, #FF8F25 0%, #FF4646 100%);

                    .radius {
                        background: #151515;
                        border-color: #151515;
                        right: 2px;
                        left: auto;
                    }
                }

                .radius {
                    background: #151515;
                    width: 0.2rem;
                    height: 0.2rem;
                    margin: 1px;
                    // border: 1px solid #e5e5e5;
                    border-radius: 100%;
                    position: absolute;
                    top: 50%;
                    margin-top: -0.1rem;
                    left: 2px;
                }
            }
        }
    }

    .item-btn {
        text-align: center;

        a {
            color: #E94E30;
            display: block;
        }
    }
}

// 输入指标名称
.aim-input-name {
    font-size: 0.14rem;
    color: #FFFFFF;
    height: 0.48rem;
    background: #151515;
    line-height: 0.48rem;
    padding: 0 0.12rem;
    margin-bottom: 0.1rem;

    .label {
        float: left;
        margin-right: 0.03rem;
    }

    .label-content {
        float: left;

        input {
            background: transparent;
            color: #fff;
            font-size: 0.14rem;
            width: 100%;
            line-height: 0.2rem;

            &::-webkit-input-placeholder {
                /* WebKit, Blink, Edge */
                color: #666;
            }

            &:-moz-placeholder {
                /* Mozilla Firefox 4 to 18 */
                color: #666;
            }

            &::-moz-placeholder {
                /* Mozilla Firefox 19+ */
                color: #666;
            }

            &:-ms-input-placeholder {
                /* Internet Explorer 10-11 */
                color: #666;
            }
        }
    }
}